import  {request}  from "@/utils/request";

export function login(data:Object){
    return request({
        url:'/api/login.php',
        method:'POST',
        data
    })
}
export function logout(data: Object) {
  return request({
    url: "/api/login.php",
    method: "POST",
    data,
  });
}